#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>

namespace Ui {
class top_menu;
}

class top_menu : public QDialog
{
    Q_OBJECT
    
public:
    explicit top_menu(QWidget *parent = 0);
    ~top_menu();
    void action( char* cmd,const char* tips);
 public  slots:
   void poweroff();
   void resatrt();
   void guide();
   void reset_application();

private slots:
   void on_menu_toggled();
   void timeDone();
private:
    Ui::top_menu *ui;
    QTimer *timer;
    void stop_action();
};

#endif // DIALOG_H
